<!DOCTYPE html>
<html lang="en">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta http-equiv="X-UA-Compatible" content="IE=EDGE,chrome=1" />
    <meta name="renderer" content="webkit" />
    <link href="__STATIC__/index/css/quan_common.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" type="text/css" href="__STATIC__/index/css/quan_index.css" />
    <link rel="stylesheet" type="text/css" href="__STATIC__/index/css/collect.css" />
    <link rel="stylesheet" href="__STATIC__/ZJTiconfont/iconfont.css">
    <script src="__STATIC__/index/js/jquery-3.2.1.js"></script>
        <script src="__STATIC__/index/js/clipboard.min.js"></script>
    <script src="__STATIC__/index/js/jquery.fly.min.js"></script>
    <style>
        .dtk-head .head-search .head-search-right {
            background: url(__STATIC__/index/img/live-img.png) 0 -294px no-repeat;
        }

        .dtk-head .head-nav .nav-main .nav-list ul li.nav-list-li-fr i.app_u {
            background: url(__STATIC__/index/img/common_nav_icon-u.png);
        }

        .dtk-head .head-nav .nav-main .nav-list ul li.nav-list-li-fr .app_up {
            background: url(__STATIC__/index/img/live-img.png) -91px 2px no-repeat;
        }

        .dtk-head .head-nav .nav-main .nav-list ul li.nav-list-li-fr .app_up {
            background: url(__STATIC__/index/img/live-img.png) -91px 2px no-repeat;
        }

        .dtk-head .head-nav .nav-main .nav-list ul li a {
            background: url(__STATIC__/index/img/nav-split-line.jpg) right center no-repeat;
        }

        .screen_icon {
            background: url(__STATIC__/index/img/screen_icon.png) no-repeat;
        }

        .goods-pages-page .pagebtn {
            background: url(__STATIC__/index/img/screen_icon.png) -78px -3px rgba(255, 255, 255, 1);
        }

        .dtk-head .head-nav .nav-main .nav-list ul li i.sf_new,
        .goods-pages .goods-pages-fil span i.sf_new {
            background: url(__STATIC__/index/img/live-img.png) -192px -125px no-repeat;
        }

        .goods-item .goods-item-content .goods-img span.goods-lyb,
        .goods-item .goods-item-content .goods-img span.goods-new {
            background: url(__STATIC__/index/img/live-img.png) -256px -65px no-repeat
        }

        .goods-info .tag i,
        .goods-info-tj .goods-sale .tag i {
            background: url(__STATIC__/index/img/live-img.png) -353px -125px no-repeat;
        }

        .com_footer .h_icon,
        .com_header .h_icon,
        .nav-header-ext .h_icon {
            background: url(__STATIC__/index/img/h_icon.png);

        }

        .nav-header-ext .h_icon {
            background-position: -486px -230px;
        }

        .dtk-head .head-search .search .search-submit span {
            background: url(__STATIC__/index/img/live-img.png) -133px -253px no-repeat;
        }

        .goods-pages .goods-pages-fil .jgup i {
            background: url(__STATIC__/index/img/screen_icon.png) no-repeat;
            width: 24px;
            height: 24px;
            float: right;
        }
    </style>
    <title>终极推联盟</title>
</head>
   <script type="text/javascript">

   </script>
<body>
    <div id="count_pd" class="count"></div>
    <div class="dtk-head clearfix">
        <div class="head-top">
            <div class="head-top-main">
                <div class="head-top-left clearfix">
                 <a class='dtk-info fl' href="{:url('index/index/index')}">终极推首页</a>
              {if condition="$user"}
             <div id="header_login" class="fl">
            <div class="login-in ">
              <div class="login-profile login-profile-nick ">
                <span class="wel-msg">
                  <a href="#"><b>{$user.mobile}</b></a>
                  <i></i>
                </span>
                <div class="login-option" style="width: 110px; text-align: center">
                  <a href="{:url('index/personal/centre')}">我的信息</a>
                  <a href="{:url('index/personal/security')}">帐号安全</a>
                  <a href="{:url('index/index/quit')}">退出登录</a>
                </div>
              </div>
              <a href="{:url('index/market/index')}" style="margin:0 5px;">推广中心<i></i></a>
              <a href="{:url('index/seller/application')}" class="sale-center">放单中心<span id="top_msg" class="top_msg" style="display: inline;"></span></a>
            </div>
            <!--登陆后个人中心-->
          </div>
           {else if}
                 <a class='dtk-info fl' href="{:url('index/login/login')}">登录</a>
                 <a class='dtk-info fl' href="{:url('index/login/register')}">注册</a>
                 {/if}
                <div id='header_login' class='fl'>
                </div>
                </div>
                <div class="head-top-right">
                    <a href="#">招商入驻</a>
                    <!--<a href="#">商家合作</a>-->
                    <a href="#">帮助中心</a>
                    <a href="#">联系我们</a>
                </div>
            </div>
        </div>
        <div class="head-search">
            <div class="logo fl"><a href="#" title="终极推首页" class="link_home">首页</a><a href="#" class="link_qlist" title="选品库">选品库</a></div>
            <div class="search fl">
                <div class="select-area">
                    <div id="xuan" class="hide sear-option">
                        <span class="cur" data-value="keyword">标题</span>
                        <span data-value="keyword_miaoshu">标题和文案</span>
                        <span data-value="spid">商品ID</span>
                    </div>
                </div>
                <div class="search-input">
                    <input id="keywords" type="text" name="keywords" autocomplete="off" placeholder="请输入关键词/商品ID/商品链接" value='{neq name="arr.keywords" value="0"}{$arr.keywords}{/neq}'>
                    <span class="src-close-btn"></span>
                    <ul class="search-land"></ul>
                </div>
                <!-- <a id='search_a_tag' href='' class="search-submit fr" onclick="if($.trim(document.getElementById('keywords').value) == ''){return false;}this.href='/search/'+'?keywords='+encodeURIComponent(document.getElementById('keywords').value)+'&amp;xuan='+$('#xuan .cur').data('value');"><span></span></a> -->
                <span id='search_a_tag' class="search-submit fr" onclick="get_keywords();"><span></span></span>

<!--                <div>
                    <a class="gjz" href="#">保温杯</a>
                    <a class="gjz" href="#">睡衣</a>
                    <a class="gjz" href="#">抽纸</a>
                    <a class="gjz" href="#">挡风被</a>
                    <a class="gjz" href="#">卫衣</a>
                </div>-->
            </div>

            <div class="head-search-right fr"></div>
        </div>
        <div class="head-nav">
            <div class="nav-main">
                <div class="nav-list clearfix">
                    <ul>
                        <li class="cur cur_type" id="cur1">
                            <a href="javascript:;" onclick="saleTime(1)">实时榜单</a>
                        </li>
                        <li id="cur2" class="cur_type">
                            <a href="javascript:;" onclick="saleTime(2)">预售榜单<i class="sf_new"></i></a>
                        </li>

                        <!-- <li class="nav-list-li-fr">
                            <a href="{:url('index/index/collect')}">我的收藏<i class="app_u"></i><em class="app_up"></em></a>
                        </li> -->
                    </ul>
                </div>
                <div class="nav-right">
                    <input type="hidden" id="get_cate_url" value="/getCate/?type=index">
                    <input type="hidden" id="save_qing" value="/syncDTK">
                    <input type="hidden" id="reset_url" value="/reset">
                    <input type="hidden" id="jude_login_url" value="/online">
                </div>
            </div>

        </div>
    </div>

    <div class="banner-attention ">
        <div class="banner_img qlist_pic_left "><a href="#"><img src="https://img.alicdn.com/imgextra/i1/2053469401/O1CN012JJhsiRG94fDVFi-2053469401.jpg"
                    alt=""> </a></div>
        <div class="banner_img qlist_pic_right "><a href="#"><img src="https://img.alicdn.com/imgextra/i3/2053469401/O1CN012JJhsK9xqgBaw3c-2053469401.jpg"
                    alt=""> </a></div>
    </div>

    <div class="main">
        <form action="/qlist" style="position: relative;z-index: 200; padding-top: 15px;" onSubmit="return false;" novalidate="false">
            <!--<div class="goods_screen_tab" style=" ">
                <span class="name">
                    已选条件：
                </span>

                <div class="label_list">

                    <label title="美食" id="cate">
                        <span>类目：</span>美食<i class="close" data-key="cid"><em class="screen_icon"></em></i>
                    </label>
                    <div class="ov_h"></div>
                </div>
                <a href="# " class="remove_all">
                    <i class="screen_icon"></i>
                    清除已选条件
                </a>
            </div>-->
            <ul class="goods_screen_checkbox" id="goodsScreenCheckbox">
                <li>
                    <span class="name">类目</span>
                    <div class="label_list">
                    	  <label class="label label0 checked">
                            <i class="screen_icon"></i>
                            <input data-title="全部" onclick="changeCate(this,0)" type="radio" name="cate_id" value="0" /> 全部
                        </label>
                    {volist name="goodsCates" id="vo"}
                        <label class="label label{$vo.id} checked">
                            <i class="screen_icon"></i>
                            <input data-title="{$vo.name}" onclick="changeCate(this,{$vo.id})" type="radio" name="cate_id" value="{$vo.id}" /> {$vo.name}
                        </label>
                    {/volist}
                    </div>
                    <div class="label_btn" style="display: none;">
                        <a class="primary btn_submit" data-mta-title="分类多选-确认">确认</a>
                        <a class="out">取消</a>
                    </div>
                    <!--<a class="open"><em class="screen_icon"></em>多选</a>-->
                </li>

                <li>
                    <span class="name">筛查</span>
                    <div class="label_list_input ">
                        <div class="input_list price">
                            <div class="pri_block">
                                <div class="center ">
                                    <span class="tab" title="价格">价格</span>
                                    <input autocomplete="off" step="0.01" type="number" data-mta-title="最低价输入" class="inputtext pri" name="price1" value='{neq name="arr.price1" value="0"}{$arr.price1}{/neq}' placeholder="￥"
                                    />
                                    <span class="text">-</span>
                                    <input autocomplete="off" step="0.01" type="number" class="inputtext pri" name="price2" data-mta-title="最高价输入" value='{neq name="arr.price2" value="0"}{$arr.price2}{/neq}' placeholder="￥"
                                    />
                                    <input autocomplete="off" type="button" class="button btn_submit" value="确认" data-mta-title="价格筛选" onclick="last_price(this)"/>
                                </div>
                            </div>
                        </div>
                        <div class="input_list ">
                            <div class="center">
                                <span class="tab" title="券面额≥">券面额 ≥</span>
                                <input autocomplete="off" type="number" class="inputtext" data-mta-title="券面额输入" oninput="javascript:this.value=this.value.replace(/[^\d]/g,'')"
                                    name="coupon_price" value='{neq name="arr.coupon_price" value="0"}{$arr.coupon_price}{/neq}' placeholder="￥" />
                                <input autocomplete="off" type="button" class="button btn_submit" value="确认" onclick="couponPrice()"/>
                            </div>
                        </div>


                        <div class="input_list ">
                            <div class="center">
                                <span class="tab" title="佣金比例≥">佣金比例 ≥</span>
                                <input autocomplete="off" type="number" step="0.01" class="inputtext" data-mta-title="佣金比例输入" name="commision" value='{neq name="arr.commision" value="0"}{$arr.commision}{/neq}' placeholder="%"
                                />
                                <input autocomplete="off" type="button" class="button btn_submit" value="确认" onclick="getCommision()"/>
                            </div>
                        </div>
                        <div class="input_list ">
                            <div class="center">
                                <span class="tab" title="月销量≥" oninput="javascript:this.value=this.value.replace(/[^\d]/g,'')">月销量
                                    ≥
                                </span>
                                <input autocomplete="off" type="number" class="inputtext" name="sale_volume" data-mta-title="月销量输入" oninput="javascript:this.value=this.value.replace(/[^\d]/g,'')"
                                    value='{neq name="arr.sale_volume" value="0"}{$arr.sale_volume}{/neq}' placeholder="" />
                                <input autocomplete="off" type="button" class="button btn_submit" value="确认" onclick="saleVolume()"/>
                            </div>
                        </div>

                        <!-- <div class="fl but"><input autocomplete="off" type="submit" onclick="getGoods()" class="button btn_submit" data-mta-title="筛选"
                                value="筛选"></div> -->
                        <div class="ov_h"></div>
                    </div>
                </li>
            </ul>
            <input autocomplete="off" name="px" type="hidden" value="zh">
        </form>
        <div class="ov_h" style="height: 15px;"></div>

        <div class="wrapper" style="padding-top:20px;">
            <div class="goods-list clearfix goods_contents">
            {volist name="data.allGoods" id="vo"}
                <div id="goods-items_16794242" data_goodsid="573258467820" data-sellerid="2096570706" class="goods-item ">
                    <div class="goods-item-content">
                        <div class="goods-img">
                            <span class="goods-new"></span>
                            <a href="{$vo.web_address}" ui-mta="clickStat" target="_blank">
                                <img class="lazy" src="{$vo.large_img}">
                            </a>
                            <span id="{$vo.id}" data-gid="" class="fl quan_add_u go_info collect">{if condition="in_array($vo['id'],$userCollect)"}<p status="1">取消收藏</p>{else /}<p status="2">加入收藏</p>{/if}<span></span></span>
                            <div class="goods-img-line"></div>
                            <!--<div class="copy_text fr">复制文案</div>-->
                              <div class="copy_text fr">
                                    <span class="copy_text_btn" id="copy_text_btn{$vo.id}" onclick="copy({$vo.id})">复制文案</span>
                                    <div class="copyText copyRight" style="top: -156px;" id="copyRight{$vo.id}">
                                        <!-- <img src="https://img.alicdn.com/imgextra/i4/1935371611/O1CN011NlsWODyiod2Gi8_!!1935371611.jpg_310x310.jpg"> -->
                                        <img src="{$vo.large_img}" alt="">
                                        <br>
                                        {$vo.title}
                                        <br>
                                        券后{$vo.last_price}包邮秒杀
                                        <br>
                                        {$vo.coupon_price}元优惠券:
                                        <a href="#" id = "voucher{$vo.id}">{$vo.coupon_address}</a><br>下单链接:
                                        <a href="#" id = "xiadan{$vo.id}">{$vo.web_address}</a>
                                        <br>
                                        {$vo.letters}
                                    </div>
                                </div>
                        </div>
                        <div class="goods-info">
                            <span class="goods-tit">
                                <a href="#">{$vo.title} </a>
                            </span>
                            <div class="goods-slider" title=""><span class="slider"><em data-width="0%"></em></span></div>
                            <div class="goods-qjy">
                                <div class="goods-price"><span>券后价</span><p><b><i class="rmb-style">￥</i>{$vo.last_price}</b></p>
                                </div>
                             <!-- <div class="goods-yj" title="佣金 {$vo.commision*$vo.money/100} 元">
                                    <span>营销计划</span><p>{$vo.commision}<b>%</b></p>
                                </div>-->
                                <div class="goods-yj">
                                	<span>奖励金额</span><p>{$vo.commision*$vo.money/100}元</p>
                                </div>
                            </div>
                            <div class="goods-sale clearfix">
                                <div class="goods-quan fl">
                                    <p>券<b><i class="rmb-style">￥</i>{$vo.coupon_price}</b></p>
                                </div>
                                <span class="fl">销量<b>{$vo.sale_volume}</b></span> <div class="tag clearfix">
                                    <i class="tag-tmall"></i>
                                </div>
                            </div>
                            <div class="type">
                                <span class="margin-num">优惠券剩余：<b>{$vo.sy_coupon_nums}</b>/{$vo.coupon_nums}</span>
                            </div>
                            <div class="goods-author"><i class="info"></i><span>放单人：</span><span class="goods_team_name">{$vo.seller.username}</span></div>
                        </div>
                    </div>
                </div>
            {/volist}
            </div>
            {$data.page}

            <!--底部广告弹窗-->
        </div>


    </div>



    <div class="idx-pop-block">
        <div class="idx-pop">
            <span class="idx-pop-close">关闭</span>
            <a href="javascript:;"><img src="" class="img" alt=""></a>
        </div>
    </div>

    <div class="side-bar">
        <div class="side-bar-list">
            <!-- 今日 -->
            <div class="side-bar-herald side-bar-item">
                <a href="#"><i></i><em>客服中心</em></a>
            </div>
            <!-- 预告 -->
            <div class="side-bar-feedback side-bar-item">
                <a href="#"><i></i><em>意见反馈</em></a>
            </div>
            <!-- 反馈 -->
            <div class="side-bar-favorite side-bar-item">
                <a href="#"><i></i><em>我的收藏</em></a>
            </div>
            <div class="side-bar-top side-bar-item">
                <a href="#" class="scrollTop"><i></i><em>返回顶部</em></a>
            </div>
        </div>
    </div>

    <style>
        .collect_icon {
            width: 52px;
            height: 52px;
            position: fixed;
            top: 50%;
            right: 52px;
            background: #218acb;
            border-radius: 8px;

        }

        .collect_icon .iconfont {
            font-size: 35px;
            color: #fff;
            position: absolute;
            top: 8px;
            left: 8px;
        }
    </style>
    <a href="{:url('index/index/collect')}" class="collect_icon" id="collect_end">
        <i class="iconfont icon-shoucang">

        </i>
    </a>
</body>
<script src="__STATIC__/layer/layer.js"></script>
<script>
    $(".nav-list-li-fr").on("mouseover", function () {
        // console.log("鼠标移上事件")
        $(".nav-header-ext").addClass("active");
    })

    var cate = {
        'keywords':'{$arr.keywords}',
        'sale_type':{$arr.sale_type},
        'cate_id':{$arr.cate_id},
        'price1':{$arr.price1},
        'price2':{$arr.price2},
        'coupon_price':{$arr.coupon_price},
        'commision':{$arr.commision},
        'sale_volume':{$arr.sale_volume},
    };
    $('#cate').html('');
    // var url =  window.location;
    var param = location.search;
    // alert(param);
    // if(cate.keywords != 0){
    //     alert(cate.keywords);
    //     $('#keywords').val(cate.keywords);
    // }

    function get_keywords() {
        var keywords = $('#keywords').val();
        window.location.href = '?&keywords='+keywords;
    }

    //实时榜单和预售榜单

    function saleTime(sale_type) {
        cate.sale_type = sale_type;
        redirectUrl();
    }

    //选择类目
    function changeCate(obj,id) {
        // alert(id);return false;
        cate.cate_id = id;
        // $('#cate').html('<span>类目：</span>'+$(obj).attr('data-title')+'<i class="close" data-key="cid"><em class="screen_icon"></em></i>');
        // console.log(cate);
        redirectUrl();
    }

    //价格筛选
    function last_price(obj){
        var price1 = $('input[name="price1"]').val();
        if(!price1){
            price1 = 0;
        }

        var price2 = $('input[name="price2"]').val();
        if(!price2){
            price2 = 0;
        }

        cate.price1 = price1;
        cate.price2 = price2;

        redirectUrl();
    }

    //券面额筛选
    function couponPrice(obj) {
        var coupon_price = $('input[name="coupon_price"]').val();
        // alert(coupon_price);
        if(coupon_price){
            cate.coupon_price = coupon_price;
            // redirectUrl();
        }else{
            cate.coupon_price = 0;
        }
        redirectUrl();
    }

    //佣金比例
    function getCommision() {
        var commision = $('input[name="commision"]').val();
        if(commision){
            cate.commision = commision;
        }else{
            cate.commision = 0;
        }
        redirectUrl();
    }

    //销量
    function saleVolume() {
        var sale_volume = $('input[name="sale_volume"]').val();
        if(sale_volume){
            cate.sale_volume = sale_volume;
        }else{
            cate.sale_volume = 0;
        }
        redirectUrl();
    }

    function redirectUrl(){
        if(!param){
            var param = '?&';
        }

        //搜索框里的模糊查询
        var keywords = GetParam(param,'keywords');
        if(cate.keywords){
            if(keywords && keywords != 0){
                param = param.replace(/(?![?&])(b)=\w+/gi,"keywords="+cate.keywords);
            }else{
                param = param+'keywords='+cate.keywords+'&';
            }
        }

        //实时榜单和预售榜单
        var sale_type = GetParam(param,'sale_type');
        if(cate.sale_type){
            if(sale_type && sale_type != undefined){
                param = param.replace(/(?![?&])(b)=\w+/gi,"sale_type="+cate.cate_id);
            }else{
                param = param+'sale_type='+cate.sale_type+'&';
            }
        }

        //有没有分类
        var cate_id = GetParam(param,'cate_id');
        if(cate.cate_id){
            if(cate_id && cate_id != undefined){
                param = param.replace(/(?![?&])(b)=\w+/gi,"cate_id="+cate.cate_id);
            }else{
                param = param+'cate_id='+cate.cate_id+'&';
            }
        }

        //有没有价格筛选
        var price1 = GetParam(param,'price1');
        if(cate.price1){
            if(price1 && price1 != undefined){
                param = param.replace(/(?![?&])(b)=\w+/gi,"price1="+cate.price1);
            }else{
                param = param+'price1='+cate.price1+'&';
            }
        }
        var price2 = GetParam(param,'price2');
        if(cate.price2){
            if(price2 && price2 != undefined){
                param = param.replace(/(?![?&])(b)=\w+/gi,"price2="+cate.price2);
            }else{
                param = param+'price2='+cate.price2+'&';
            }
        }

        //券面额
        var coupon_price = GetParam(param,'coupon_price');
        if(cate.coupon_price){
            if(coupon_price && coupon_price != undefined){
                param = param.replace(/(?![?&])(b)=\w+/gi,"coupon_price="+cate.coupon_price);
            }else{
                param = param+'coupon_price='+cate.coupon_price+'&';
            }
        }

        //佣金比例
        var commision = GetParam(param,'commision');
        if(cate.commision){
            if(commision && commision != undefined){
                param = param.replace(/(?![?&])(b)=\w+/gi,"commision="+cate.commision);
            }else{
                param = param+'commision='+cate.commision+'&';
            }
        }

        //月销量
        var sale_volume = GetParam(param,'sale_volume');
        if(cate.sale_volume){
            if(sale_volume && sale_volume != undefined){
                param = param.replace(/(?![?&])(b)=\w+/gi,"sale_volume="+cate.sale_volume);
            }else{
                param = param+'sale_volume='+cate.sale_volume+'&';
            }
        }
        window.location.href = param;
    }

    function GetParam(url, id) {
        url = url+ "";
        regstr = "/(\\?|\\&)" + id + "=([^\\&]+)/";
        reg = eval(regstr);//eval可以将 regstr字符串转换为 正则表达式
        result = url.match(reg);//匹配的结果是：result[0]=?sid=22 result[1]=sid result[2]=22。所以下面我们返回result[2]

        if (result && result[2]) {
            return result[2];
        }
    }

    //加入收藏和取消收藏
    $(document).on('click','.goods_contents .collect',function(event){
        var id = $(this).attr('id');
        var addcar = $(this);

        var offset = $("#collect_end").offset();
        $.post('{:url("collecting")}',{'id':id},function(data){
            if(data.code == 1){
                if (data.status == 1) {
                    console.log(event);
                    $('#'+id).children('p').html('加入收藏');
                    layer.msg(data.msg, {icon: 5,time:1500,shade: 0.1});



                }else{
                    console.log(event)
                    $('#'+id).children('p').html('取消收藏');
                    layer.msg(data.msg, {icon: 1,time:1500,shade: 0.1});



                     // 飞入
                     var flyer=$('<div style="width:30px;height:30px;color:#fff;border-radius:50%;background:#218acb;">1</div>')
                    flyer.fly({
                        start: {
                            left: event.pageX, //开始位置（必填）#fly元素会被设置成position: fixed
                            top: event.pageY //开始位置（必填）
                        },
                        end: {
                            left: offset.left+10, //结束位置（必填）
                            top: offset.top+10, //结束位置（必填）
                            width: 0, //结束时宽度
                            height: 0 //结束时高度
                        },
                        onEnd: function(){ //结束回调
                            //提示信息
                            // $("#msg").show().animate({width: '250px'}, 200).fadeOut(1000);
                            layer.msg(data.msg, {icon: 1,time:1500,shade: 0.1});
                            addcar.css("cursor","default").removeClass('orange').unbind('click');
                            this.destory(); //移除dom
                        }
                    });
                }
            }else if(data.code == 0){
                layer.msg(data.msg, {icon: 6,time:1500,shade: 0.1}, function(index){
                    window.location.href="{:url('Login/login')}";
                });
            }else{
                layer.msg(data.msg, {icon: 5,time:1500,shade: 0.1});
            }
        },'json')
    })

    //复制功能
      function copy(e){
			 var clipboard = new Clipboard('#copy_text_btn'+e,{
		   	 target: function(){
		   		return document.querySelector('#copyRight'+e);
		   	 }
		     });
	  }
      $(".label").removeClass("checked");
      $(".label"+cate.cate_id).addClass("checked")
      $(".cur_type").removeClass("cur");
      $("#cur"+cate.sale_type).addClass("cur");
</script>
</html>
